home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 52 / Amiga Format AFCD52 (Issue 136, May 2000).iso / -in_the_mag- / individualcomputers / silversurfer / silver.dms / silver.adf / s / startup-sequence
Text File  |  1999-10-15  |  2KB  |  70 lines

  1. ;$VER: Silversurfer install script V1.1 (15.10.99) (C) Jens Schönfeld
  2. resident >NIL: c:LEDwait force
  3. resident >NIL: c:wait force
  4. resident >NIL: c:echo force
  5. resident >NIL: c:edit force
  6. makedir ram:env
  7. assign env: ram:env
  8. echo ""
  9. echo ""
  10. run >NIL: wait 6000 >"con:0/0/1024/10/Please wait while installing"
  11. echo "Welcome to the totally automatic installation"
  12. echo "of the Silversurfer serial port expansion."
  13. echo ""
  14. assign vols >ram:vols
  15. addbuffers >NIL: sys: 30
  16. echo "ThisIsTheEnd" >>ram:vols
  17. edit ram:vols WITH Delline >NIL:
  18. Setenv InstallResult "not OK"
  19. lab schleife
  20. edit ram:vols env:Volume WITH Exline >NIL:
  21. edit ram:vols WITH Delline >NIL:
  22.  
  23. if "$volume" EQ "ThisIsTheEnd"
  24. skip ende
  25. endif
  26.  
  27. if exists "$Volume:devs"
  28. if NOT "$Volume" EQ "Silversurfer"
  29.    echo "Found possible boot partition $Volume:."
  30.      if exists "$Volume:devs/silversurfer.device"
  31.         protect "$Volume:devs/silversurfer.device" +dw
  32.      endif
  33.    copy Silversurfer:devs/silversurfer.device "$Volume:devs" CLONE
  34.    protect "$Volume:devs/silversurfer.device" -dw
  35.    setenv InstallResult "OK"
  36. endif
  37. endif
  38. skip back schleife
  39. echo "If you see this line, the only thing you can do is PANIC."
  40. lab ende
  41. echo ""
  42. echo "installation was $InstallResult"
  43. echo ""
  44. if "$InstallResult" EQ "OK"
  45. echo "Please remove the disk and reboot the computer. Your"
  46. echo "Silversurfer Can now be used with the"
  47. echo ""
  48. echo "silversurfer.device"
  49. echo ""
  50. echo "with any program that has been using the serial.device"
  51. echo "previously. The serial.device can still be used!"
  52. lab blinkOKloop
  53. ledwait 101
  54. wait 2
  55. skip back blinkOKloop
  56. else
  57. echo "This could have happened because a harddisk has not"
  58. echo "been mounted upon cold-startup of your computer."
  59. echo "Please Reset the computer now by pressing"
  60. echo "<CTRL>-<lAmiga>-<rAmiga>"
  61. echo "and leave the disk in the drive."
  62. lab blinkERRORloop
  63. ledwait 103
  64. wait 2
  65. skip back blinkERRORloop
  66. endif
  67. UnSet InstallResult
  68. UnSet Volume
  69. delete ram:vols >NIL:
  70.